[Unit]
Description=Kubernetes Scheduler
Documentation=https://github.com/kubernetes/kubernetes
Requires=kube-controller-manager.service
 
[Service]
EnvironmentFile={{ KUBERNETES_CONFIG_PATH }}/kube-scheduler.conf
ExecStart={{ K8S_ALL_EXE_FILE_PATH }}/kube-scheduler $KUBE_SCHEDULER_OPTS
Restart=on-failure
RestartSec=5
LimitNOFILE=65536
 
[Install]
WantedBy=multi-user.target

